import React from 'react'
import  {useNavigate} from  "react-router-dom"

export default function Form() {
    let  navigate = useNavigate();
    // console.log(navigate);
  return (
    <div>Form
        <button onClick={()=>{
            navigate("/");
        }}>跳转到首页</button>
    </div>
  )
}

